* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#app {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: skyblue;
}

.list {
    display: flex;
}

.item {
    padding: 0 40px;
    height: 70px;
    background-color: rgba(0, 0, 0, .5);
    margin-right: 30px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    line-height: 70px;
    border-radius: 10px;
    /*英文首字母大写*/
    text-transform: capitalize;
}

.item:hover {
    opacity: .9;
    /* background-color: rgba(0, 0, 0, .7); */
    cursor: pointer;
}